PrizmDoc v12.0 -
How & When to use CORS with PrizmDoc

Do you need to use CORS?

The samples provided in our PrizmDoc Viewing Client installer remove the need for cross-origin resource handling. We recommend setting up your web-application similarly or having PrizmDoc Application Services (PAS) proxied behind a web-server, which is discussed in the topic, Configuring PrizmDoc Application Services in your Server's Entry Point .

How PrizmDoc supports CORS

While we do not recommend a design that requires CORS, it is possible to configure PAS to handle those requests. Use the following steps to accomplish this:

  1. Find your PAS configuration file. If you do not know where it is located, refer to the topic, PrizmDoc Application Services (PAS) Configuration.
  2. Next, you will need to modify the CORS settings within your PAS configuration file. For information on those settings, refer to the topic, PrizmDoc Application Services (PAS) Configuration.
  3. After the changes have been made, restart the PAS Service for the changes to take effect. For information on how to start and stop PAS, refer to the topic, Starting & Stopping the PrizmDoc Application Services.
  4. Update the imageHandlerUrl in the viewer initialization options to point directly to the publicly accessible PAS entry point. For more information on viewer configuration options, refer to the topic, Initialization Parameters.
There is no native support for CORS in Internet Explorer 8 and 9.

 

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback